package com.chenyue.cm.match.vo;

import com.chenyue.cm.common.vo.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author libingxing
 */
@Data
public class MatchScoreList {

    @ApiModelProperty(value = "个人打分详情-带分页")
    private Page<List<MatchMemberList>> memberScoreListPage;

    @ApiModelProperty(value = "团队打分详情-带分页")
    private Page<List<MatchGroupList>> matchGroupListPage;

    @ApiModelProperty(value = "个人打分详情")
    private List<MatchMemberList> memberScoreList;

    @ApiModelProperty(value = "团队打分详情")
    private List<MatchGroupList> matchGroupList;

    @Data
    public static class MatchGroupList {
        @ApiModelProperty(value = "团队id")
        private Integer groupId;

        @ApiModelProperty(value = "队伍名称")
        private String groupName;

        @ApiModelProperty(value = "队伍总分")
        private Integer groupScore;

        @ApiModelProperty(value = "打分详情")
        private List<MatchMemberList> memberScoreList;
    }

    @Data
    public static class MatchMemberList {

        @ApiModelProperty(value = "用户名")
        private String userName;

        @ApiModelProperty(value = "头像")
        private String headImg;

        @ApiModelProperty(value = "分数")
        private Integer score;

        @ApiModelProperty(value = "用户id")
        private Integer userId;

        @ApiModelProperty(value = "赛程阶段")
        private Integer arrangeOrder;

        @ApiModelProperty(value = "赛程id")
        private Integer formatId;

        @ApiModelProperty(value = "晋级状态")
        private Integer promotionState;

        @ApiModelProperty(value = "1是参赛了 2是待参赛")
        private Integer isConcat;
    }

}
